package com.mindskip.xzs.repository;

import com.mindskip.xzs.domain.dto.KeyValue;
import com.mindskip.xzs.domain.dto.admin.user.UserPageDTO;
import com.mindskip.xzs.domain.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<User> {

    User getUserByUserName(String username);

    List<User> selectUserPage(UserPageDTO userPageDTO);

    List<KeyValue> selectByUserName(String userName);

    List<User> selectByIds(List<Integer> ids);
}
